/*
 * Copyright (c) 2018.
 * This file was written by Fancyears·Milos·Malvis @connor. Any question/bug you can't post to 1243093366@qq.com.
 * ALL RIGHTS RESERVED.
 */
package org.fancyears.proxy;

/**
 * @author: Fancyears·Milos·Malvis
 * @CreateDate: 2019年1月15日 下午5:12:49
 * @Description:
 */
@MethodName("execute")
public class InteceptorImpl implements Interceptor {

	@Override
	public Object intercept(Invocation invocation) throws Throwable {
		System.out.println("Go Go Go!!!");
		return invocation.proceed();
	}

	@Override
	public Object register(Object target) {
		return TargetProxy.bind(target, this);
	}

}
